import $http from "./requst";
// 微信分享
export const Wechatshare = (data) =>
  $http({ url: "/common/Wechatshare", method: "post", data });

// 获取验证码
export const My = (data) =>
  $http({ url: "/enterprise/My", method: "post", data });
// 个人中心
export const Sendsms = (data) =>
  $http({ url: "/common/Send/sms", method: "post", data });
// 企业申请
export const applyEnterprise = (data) =>
  $http({ url: "/enterprise/My/applyEnterprise", method: "post", data });

// 岗位招聘列表
export const position = (data) =>
  $http({ url: "/enterprise/My/position", method: "post", data });

// 需求发布列表
export const enterprise = (data) =>
  $http({ url: "/enterprise", method: "post", data });

// 程序员大厅列表
export const Record = (data) =>
  $http({ url: "/enterprise/record", method: "post", data });

// 岗位发布
export const enterprisePosition = (data) =>
  $http({
    url: "/enterprise/Release/enterprisePosition",
    method: "post",
    data,
  });
// 消息列表
export const Message = (data) =>
  $http({
    url: "/enterprise/Message",
    method: "post",
    data,
  });

// 发布外包项目
export const projectDemand = (data) =>
  $http({
    url: "/enterprise/Release/projectDemand",
    method: "post",
    data,
  });
// 程序员简历主页
export const userDetails = (data) =>
  $http({
    url: "/enterprise/Index/userDetails",
    method: "post",
    data,
  });
// 收藏程序员
export const collect = (data) =>
  $http({
    url: "/enterprise/Index/collect",
    method: "post",
    data,
  });

// 取消收藏程序员
export const canceCollect = (data) =>
  $http({
    url: "/enterprise/Index/canceCollect",
    method: "post",
    data,
  });
// 查看联系方式
export const lookContactSave = (data) =>
  $http({
    url: "/enterprise/Index/lookContactSave",
    method: "post",
    data,
  });
// 选择套餐
export const getPackage = (data) =>
  $http({
    url: "/enterprise/Index/package",
    method: "post",
    data,
  });
// 选择套餐支付
export const packagePay = (data) =>
  $http({
    url: "/enterprise/Index/packagePay",
    method: "post",
    data,
  });
// 需求外包详情
export const orderDetail = (data) =>
  $http({
    url: "/enterprise/Record/details",
    method: "post",
    data,
  });

// 收藏列表
export const collectList = (data) =>
  $http({
    url: "/enterprise/My/collect",
    method: "post",
    data,
  });

// 收到简历
export const receiveBiographicalNotes = (data) =>
  $http({
    url: "/enterprise/My/receiveBiographicalNotes",
    method: "post",
    data,
  });

// 雇主选标
export const bidderCheck = (data) =>
  $http({
    url: "/enterprise/Record/bidderCheck",
    method: "post",
    data,
  });
// 企业认证展示
export const enterpriseShow = (data) =>
  $http({
    url: "/enterprise/My/enterpriseShow",
    method: "post",
    data,
  });
// 解锁联系方式列表
export const lookContact = (data) =>
  $http({
    url: "/enterprise/My/lookContact",
    method: "post",
    data,
  });

// 意见反馈
export const feedback = (data) =>
  $http({ url: "/enterprise/My/feedback", method: "post", data });

// 合作申请
export const cooperateApply = (data) =>
  $http({ url: "/enterprise/My/cooperateApply", method: "post", data });

// 开通会员
export const memberPay = (data) =>
  $http({ url: "/enterprise/My/memberPay", method: "post", data });

// 验收项目
export const checkAccept = (data) =>
  $http({ url: "/enterprise/Record/checkAccept", method: "post", data });

// 关闭岗位
export const positionClose = (data) =>
  $http({ url: "/enterprise/My/positionClose", method: "post", data });

// 我的-会员开通选择时间展示
export const memberPayShow = (data) =>
  $http({ url: "/enterprise/My/memberPayShow", method: "post", data });

// 消息状态更改
export const checkstatus = (data) =>
  $http({ url: "/enterprise/Message/checkStatus", method: "post", data });

// 获取消息未读数量
export const getMessageCount = (data) =>
  $http({ url: "/enterprise/My/getMessageCount", method: "post", data });
